package practice05;

/**
 * @author Administrator
 * @version V1.0
 * @ProjectName:IntelliJ IDEA
 * @PackageName: practice05
 * @ClassName: Account
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @date 2019/12/1 15:48
 * @Copyright 大牛版板所有
 */
public class Account {
    String account;
    double funds;
    double depositNums;
    double drawNums;

    public double deposit(){
        return (this.funds + this.depositNums);
    }
    public double draw(){
        return (this.funds - this.drawNums);
    }
    public double fundInquiry(){
        return this.funds;
    }

}
